package org.chw.callback.config;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.PropertySource;

/**
 * @ClassName: WechatConfig
 * @Description: 微信公众号配置
 * @Autor: Vincent.Chen
 * @Create: 2018/6/13 9:33
 * @Version: 1.0
 **/
@Configuration
@PropertySource(value = "classpath:wechat-config.properties")
@ConfigurationProperties(prefix = "wechat")
public class WechatConfig {
  private String token;
  private String appid;
  private String secret;

  public String getToken() {
    return token;
  }

  public void setToken(String token) {
    this.token = token;
  }

  public String getAppid() {
    return appid;
  }

  public void setAppid(String appid) {
    this.appid = appid;
  }

  public String getSecret() {
    return secret;
  }

  public void setSecret(String secret) {
    this.secret = secret;
  }
}
